package com.lwlk.zdk.model.T;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import java.util.Date;

public class TDisEnterprise {

    private Integer id;
    //业户id，上层业务传递
    private Integer enterpriseId;
    //行业id
    private Integer industryId;
    //管辖机构id
    private Integer organizationId;
    //归属地id
    private Integer regionId;
    //上层业务代码
    private Integer clientCode;
    //更新日期
    private Date updateDate;
    //创建日期
    private Date createDate;
    //删除标志，0删除1未删
    private Short delFlag;
    //行政区划代码
    private Integer regionCode;
    //企业名称
    private String enterpriseName;
    //经营状态。0：营运，1：停运
    private Integer managementForms;
    //经营许可证
    private String businessCertificate;
    //经营许可证发证日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date businessCertificateDate;
    //地址
    private String address;
    //企业等级
    private String grade;
    //经营范围
    private String scope;
    //法人代表姓名
    private String legalPerson;
    //联系人
    private String linkman;
    //经营许可证有效起始日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startValidDate;
    //经营许可证有效终止日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date loseEfficacyDate;
    //查岗对象类型(下发报文对象类型)
    private String objectType;
    //数据来源 0：运政；1：自加
    private Integer source;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Integer enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Integer getIndustryId() {
        return industryId;
    }

    public void setIndustryId(Integer industryId) {
        this.industryId = industryId;
    }

    public Integer getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Integer organizationId) {
        this.organizationId = organizationId;
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public Integer getClientCode() {
        return clientCode;
    }

    public void setClientCode(Integer clientCode) {
        this.clientCode = clientCode;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Short getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Short delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getRegionCode() {
        return regionCode;
    }

    public void setRegionCode(Integer regionCode) {
        this.regionCode = regionCode;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public Integer getManagementForms() {
        return managementForms;
    }

    public void setManagementForms(Integer managementForms) {
        this.managementForms = managementForms;
    }

    public String getBusinessCertificate() {
        return businessCertificate;
    }

    public void setBusinessCertificate(String businessCertificate) {
        this.businessCertificate = businessCertificate;
    }

    public Date getBusinessCertificateDate() {
        return businessCertificateDate;
    }

    public void setBusinessCertificateDate(Date businessCertificateDate) {
        this.businessCertificateDate = businessCertificateDate;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public Date getStartValidDate() {
        return startValidDate;
    }

    public void setStartValidDate(Date startValidDate) {
        this.startValidDate = startValidDate;
    }

    public Date getLoseEfficacyDate() {
        return loseEfficacyDate;
    }

    public void setLoseEfficacyDate(Date loseEfficacyDate) {
        this.loseEfficacyDate = loseEfficacyDate;
    }

    public String getObjectType() {
        return objectType;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public Integer getSource() {
        return source;
    }

    public void setSource(Integer source) {
        this.source = source;
    }
}